home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / lkbackup.zip / read.me < prev    next >
Text File  |  1994-05-15  |  3KB  |  77 lines

  1.  The following is my version of a tape backup program for windows nt
  2.  
  3. It was written because ntbackup fails on my gigatrend 1200 data drive, but
  4. the driver I wrote for it passes the hardware compat. test fine.
  5.  
  6. The software allows you to backup/restore savesets to tape (50 savesets max).
  7. It also allows you to list the tape/and or saveset contents and backup/restore
  8. by wildcard ie *dirname* etc. I have implemented compression utilizing a
  9. modified version of gnu zip but on my dat even with a 100K threshold for
  10. zip it takes long and more tape so the compression by default is
  11. disabled unless you specify the -c option.  for a list of options run lkbackup -h
  12.  
  13. The tape drive used by the backup program must have an nt driver and
  14. support the following functions: 
  15.  
  16. 1. Writefile/readfile for reading writing to tape
  17.  
  18. 2. it must be device tape0 (ie the first tape device in the system although
  19. this can be changed in the source code)
  20.  
  21. 3. it must support either filemarks or setmarks (default is filemarks
  22. use -s option for setmarks).
  23.  
  24. 4. it must support spacing to end of data and filemark/setmark +/-
  25. spacing
  26.  
  27. 5. it must support scsi data block aka relative blocking/spacing (it
  28. doesn't use absolute or logical blocking).
  29.  
  30. 6. it must support the load/unload/rewind tape apis in win32.
  31.  
  32. 7. You must have your temp variable set since this is where the
  33. zipped/unzipped files are temporarily kept, and there must be enouge space for the
  34. largest of your files (and about 30 of them if using compression).
  35.  
  36.  
  37. The program is multi-threaded in that one thread tries to compress ahead of
  38. the thread writting to tape up to 30 files.  This improved performance but
  39. uncompressed still works better on my drive.  Try it and let me know your
  40. results.  Anyway I have left the multi-threading in since with faster machines
  41. or multi-processor machines in the future it will improve perforamce.
  42.  
  43. The source code is also provided and can be used and modified provided
  44. you send me the modified code with a note about what you are doing. 
  45. Also the code cannot be used in a for sale produce without first contacting
  46. me for permission.
  47.  
  48. Good luck
  49.  
  50. Larry Kahn 10/27/93
  51. [71534.600] on compuserve
  52. Kahn@drcvax.af.mil on internet
  53. 919-630-0412 by phone
  54. 919-630-0722 by fax when nt finally gets fax support
  55.  
  56.  
  57. Addendums:
  58.  
  59. Just got an HP 35480a dat and the program wouldn't work because and I
  60. quote:
  61.  
  62. "After the load sequence, the drive sends a CHECK STATUS on receipt of
  63. the next SCSI command from the host.  The UNIT ATTENTION key is set in
  64. the returned REQUEST SENSE data to indicate that the tape may have been
  65. changed."
  66.  
  67. This is sort of weird in that it means that after a load/rewind command
  68. the HP dats return an error condition indicating ERROR_MEDIA_CHANGED so
  69. on every load of a tape the next command gets an error and this is why
  70. the program was not working.  Now I check for this condition and ignore
  71. it. I print out this is happening if DEBUG is on.  Sorry
  72.  
  73. There are no also two executables one for 486 machines and one optimized
  74. for pentiums.
  75.  
  76. larry
  77.